<template>
  <el-row>
    <el-row>
       <el-col :span="10" :offset="9" style="margin-top: 150px;">
           <el-form :model="addForm" :rules="addRules" ref="addForm" label-width="100px" style="line-height: 20px;width: 70%;">
               <el-form-item :label="$t('login.mail')" prop="user_name">
                 <el-input v-model="addForm.user_name" auto-complete="off" style="width: 70%;"  maxlength="50"></el-input>
               </el-form-item>
               <el-form-item :label="$t('login.password')" prop="password">
                 <el-input v-model="addForm.password" auto-complete="off" style="width: 70%;" maxlength="16"></el-input>
               </el-form-item>
               <el-form-item :label="$t('register.companyName')" prop="company_name">
                 <el-input v-model="addForm.company_name" auto-complete="off" style="width: 70%;" maxlength="20"></el-input>
               </el-form-item>
           </el-form>
       </el-col>
    </el-row>
    <el-row>
        <el-button type="primary" @click="saveRegister" style="margin-right:20px;width:8%">{{$t('login.register')}}</el-button>
        <el-button type="primary" @click="jumpBack" style="margin-right:-50px;width:8%">{{$t('standard.return')}}</el-button>
    </el-row>
  </el-row>
</template>

<script>
  import register from './register'

  export default register;

</script>

<style>
  .search-form-row{
    text-align: left;
  }

</style>
